package com.gljx.util;

/**
 * Created by Administrator on 2018/2/2 0002.
 */
public enum ResponseCode {
    ERROR(0, "ERROR"),
    SUCCESS(1, "SUCCESS"),
    NEXT(2, "NEXT");

    private final int code;
    private final String desc;

    ResponseCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
